<template>
  <div class="bt-warning">
    <el-popover placement="top" width="166" v-model="visible">
      <p class="clear-one">确定催办此信息吗？</p>
      <div style="text-align: right; margin: 0">
        <el-button size="mini" type="text" @click="visible = false">取消</el-button>
        <el-button type="primary" size="mini" @click="clear">确定</el-button>
      </div>
      <el-button slot="reference" type="SingleDeletion">催办</el-button>
    </el-popover>
  </div>
</template>
<script>
export default {
  
  data() {
    return {
      visible: false
    };
  },
  props:["clearOne","id"],
  methods:{
    clear(){
      this.visible = false;
      this.clearOne(this.id);//代做
    }
  }
};
</script>
<style lang="less" scoped>
/deep/.el-button--SingleDeletion {
  width: 60px;
  height: 28px;
  background:rgba(245,166,35,1);
  border-radius: 4px;
  color: #FFFFFF;
  font-size: 14px;
  line-height: 22px;
  padding: 0;
}
</style>